<?php
require_once "controller/Controller.php";

class SiteController extends Controller{

	function __construct(){
		
		if(isset($_SESSION['user_id']) && isset($_SESSION['user_name'])){
			$this->add_result("logged_as", $_SESSION['user_name']);
		}
	}

	public function get_template_path(){
		return "site/main.tpl";
	}
}
?>
